package hip.util;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Setter
@Getter
public class Employee implements Serializable {
    private String name;
    private Integer age;
    private String department;
    private String level;

    public Employee(String name, Integer age, String department, String level) {
        this.name = name;
        this.age = age;
        this.department = department;
        this.level = level;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", department='" + department + '\'' +
                ", level='" + level + '\'' +
                '}';
    }
}
